package cn.boat.router.models;

import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.function.Consumer;

/**
 * Broker所有元数据
 */
@Data
public class BrokerMetaData {

    // Broker列表
    private List<Broker> brokerList;
    // 主题列表
    private List<Topic> topicList;

    public BrokerMetaData() {
    }

    public BrokerMetaData(List<Broker> brokerList, List<Topic> topicList) {
        this.brokerList = brokerList;
        this.topicList = topicList;
    }

    public List<Broker> getBrokerList() {
        return brokerList;
    }

    public void setBrokerList(List<Broker> brokerList) {
        this.brokerList = brokerList;
    }

    public List<Topic> getTopicList() {
        return topicList;
    }

    public void setTopicList(List<Topic> topicList) {
        this.topicList = topicList;
    }
}
